package org.jeecg.test;

import lombok.extern.slf4j.Slf4j;
import org.jeecg.common.api.vo.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Slf4j
@RequestMapping("/test")
public class HiJeecg {
    @GetMapping("/hi")
    public Result<String> hi() {
        Result<String > result=new Result<>();
        result.setResult("Hi 徐睿！");
        result.setSuccess(true);
        return result;
    }
}
